import api from './index'
// axios
import request from '@/utils/request'
import qs from 'qs'
import { encryptAes, decryptAes, encryptBase64, decryptBase64 } from '@/utils/encryptUtil'

export function getDoctorOrderFoodList(param) {
  let encryptStr = encryptAes(JSON.stringify(param))
  return request({
    url: api.getDoctorOrderFoodList,
    method: 'post',
    data: qs.stringify({ 'paramText': encryptStr })
  })
}

export function saveDoctorOrderFoodList(param) {
  let encryptStr = encryptAes(JSON.stringify(param))
  return request({
    url: api.saveDoctorOrderFoodList,
    method: 'post',
    data: qs.stringify({ 'paramText': encryptStr })
  })
}
